package io.wdb.modules.generator.generator.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 现金账户信息表
 * 
 * @author wdb
 * @email admin@wdb007.com
 * @date 2017-11-30 15:15:37
 */
public class AccountCashEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//用户id
	private Long userId;
	//余额
	private BigDecimal cashAmount;
	//押金
	private BigDecimal depositAmount;
	//状态:10-可用;20-冻结
	private Integer status;
	//创建时间
	private Date createTime;
	//修改时间
	private Date modifyTime;
	//手机号
	private String mobileNo;
	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：余额
	 */
	public void setCashAmount(BigDecimal cashAmount) {
		this.cashAmount = cashAmount;
	}
	/**
	 * 获取：余额
	 */
	public BigDecimal getCashAmount() {
		return cashAmount;
	}
	/**
	 * 设置：押金
	 */
	public void setDepositAmount(BigDecimal depositAmount) {
		this.depositAmount = depositAmount;
	}
	/**
	 * 获取：押金
	 */
	public BigDecimal getDepositAmount() {
		return depositAmount;
	}
	/**
	 * 设置：状态:10-可用;20-冻结
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态:10-可用;20-冻结
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：修改时间
	 */
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getModifyTime() {
		return modifyTime;
	}
	public String getMobileNo() {
		return mobileNo;
	}
	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}
	
}
